package org.jingouzhui.domain.strategy.service.rule.chain;

/**
 * @description: 抽象抽奖责任链接口
 * @author: jingouzhui
 * @date: 2025/4/29 12:28
 */
public abstract  class AbstractLogicChain implements  ILogicChain{


    private  ILogicChain logicChain;


    @Override
    public ILogicChain appendNext(ILogicChain logicChain) {
        this.logicChain = logicChain;
        return logicChain;
    }

    @Override
    public ILogicChain next() {
        return logicChain;
    }

    protected abstract String ruleModel();
}
